package com.zzyl.service;

import com.zzyl.aop.AutoFill;
import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.dto.NursingPlanPageQueryDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {

    //根据名称和状态分页查询
    PageBean<NursingPlanVo> pageQuery(NursingPlanPageQueryDto dto);

    //添加护理计划
    void insertPlan(NursingPlanDto nursingPlanDto);


    /*
    * 根据id查询护理计划
    *
    * */
    NursingPlanVo getById(Long id);


    /*
    * 更改护理计划
    *
    * */
    void updateNursingPlan(NursingPlanDto dto);


    /*
    * 删除护理计划
    *
    * */
    void deletePlanById(Long id);

    /*
    * 启用或禁用
    *
    * */
    void enableOrDisable(Long id, Integer status);

    /*
    * 查询所有护理计划
    *
    * */
    List<NursingPlanVo> findAll();
}

